package controller

import (
	"github.com/gin-gonic/gin"
	"src/services"
)

func Purchase(u **gin.Engine) {
	g := (*u).Group("/purchase")
	g.GET("/purchaseList", services.PurchaseList)
	g.GET("/lastPurchase", services.LastPurchase)
	g.POST("/insertPurchase", services.InsertPurchase)

}
